package com.web.portal.pojo;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
import org.hibernate.validator.Size;

public class FacultyPojo {
	
	private String Id;
	private CommonsMultipartFile myFileImage;
	@NotBlank (message="Firstname should not be blank!")
	private String firstName;
	@NotBlank (message="Last should not be blank!")
	private String lastName;
	@NotBlank (message="Email must be provided!")
	@Email(message="Please provide a valid email")
	private String mail;
	@Size(min=10,max=10, message="phone must be provided in the form :4443335555" )
	private String phone;
	private String description;
	private String research;
	private CommonsMultipartFile myFileMap;
	private String position;
	
	public FacultyPojo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getResearch() {
		return research;
	}
	public void setResearch(String research) {
		this.research = research;
	}

	public CommonsMultipartFile getMyFileImage() {
		return myFileImage;
	}

	public void setMyFileImage(CommonsMultipartFile myFileImage) {
		this.myFileImage = myFileImage;
	}

	public CommonsMultipartFile getMyFileMap() {
		return myFileMap;
	}

	public void setMyFileMap(CommonsMultipartFile myFileMap) {
		this.myFileMap = myFileMap;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	
	

}
